﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000FC3 RID: 4035
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueReforgeFormulaSelectInfo : IMessage<RogueReforgeFormulaSelectInfo>, IMessage, IEquatable<RogueReforgeFormulaSelectInfo>, IDeepCloneable<RogueReforgeFormulaSelectInfo>, IBufferMessage
	{
		// Token: 0x17003310 RID: 13072
		// (get) Token: 0x0600B494 RID: 46228 RVA: 0x001E7413 File Offset: 0x001E5613
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueReforgeFormulaSelectInfo> Parser
		{
			get
			{
				return RogueReforgeFormulaSelectInfo._parser;
			}
		}

		// Token: 0x17003311 RID: 13073
		// (get) Token: 0x0600B495 RID: 46229 RVA: 0x001E741A File Offset: 0x001E561A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueReforgeFormulaSelectInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003312 RID: 13074
		// (get) Token: 0x0600B496 RID: 46230 RVA: 0x001E742C File Offset: 0x001E562C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueReforgeFormulaSelectInfo.Descriptor;
			}
		}

		// Token: 0x0600B497 RID: 46231 RVA: 0x001E7433 File Offset: 0x001E5633
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueReforgeFormulaSelectInfo()
		{
		}

		// Token: 0x0600B498 RID: 46232 RVA: 0x001E743B File Offset: 0x001E563B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueReforgeFormulaSelectInfo(RogueReforgeFormulaSelectInfo other) : this()
		{
			this.rogueFormulaSelectInfo_ = ((other.rogueFormulaSelectInfo_ != null) ? other.rogueFormulaSelectInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B499 RID: 46233 RVA: 0x001E7470 File Offset: 0x001E5670
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueReforgeFormulaSelectInfo Clone()
		{
			return new RogueReforgeFormulaSelectInfo(this);
		}

		// Token: 0x17003313 RID: 13075
		// (get) Token: 0x0600B49A RID: 46234 RVA: 0x001E7478 File Offset: 0x001E5678
		// (set) Token: 0x0600B49B RID: 46235 RVA: 0x001E7480 File Offset: 0x001E5680
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueFormulaSelectInfo RogueFormulaSelectInfo
		{
			get
			{
				return this.rogueFormulaSelectInfo_;
			}
			set
			{
				this.rogueFormulaSelectInfo_ = value;
			}
		}

		// Token: 0x0600B49C RID: 46236 RVA: 0x001E7489 File Offset: 0x001E5689
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueReforgeFormulaSelectInfo);
		}

		// Token: 0x0600B49D RID: 46237 RVA: 0x001E7497 File Offset: 0x001E5697
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueReforgeFormulaSelectInfo other)
		{
			return other != null && (other == this || (object.Equals(this.RogueFormulaSelectInfo, other.RogueFormulaSelectInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B49E RID: 46238 RVA: 0x001E74CC File Offset: 0x001E56CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.rogueFormulaSelectInfo_ != null)
			{
				num ^= this.RogueFormulaSelectInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B49F RID: 46239 RVA: 0x001E7508 File Offset: 0x001E5708
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B4A0 RID: 46240 RVA: 0x001E7510 File Offset: 0x001E5710
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B4A1 RID: 46241 RVA: 0x001E7519 File Offset: 0x001E5719
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueFormulaSelectInfo_ != null)
			{
				output.WriteRawTag(58);
				output.WriteMessage(this.RogueFormulaSelectInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B4A2 RID: 46242 RVA: 0x001E754C File Offset: 0x001E574C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.rogueFormulaSelectInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueFormulaSelectInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B4A3 RID: 46243 RVA: 0x001E758C File Offset: 0x001E578C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueReforgeFormulaSelectInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.rogueFormulaSelectInfo_ != null)
			{
				if (this.rogueFormulaSelectInfo_ == null)
				{
					this.RogueFormulaSelectInfo = new RogueFormulaSelectInfo();
				}
				this.RogueFormulaSelectInfo.MergeFrom(other.RogueFormulaSelectInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B4A4 RID: 46244 RVA: 0x001E75E0 File Offset: 0x001E57E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B4A5 RID: 46245 RVA: 0x001E75EC File Offset: 0x001E57EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 58U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.rogueFormulaSelectInfo_ == null)
					{
						this.RogueFormulaSelectInfo = new RogueFormulaSelectInfo();
					}
					input.ReadMessage(this.RogueFormulaSelectInfo);
				}
			}
		}

		// Token: 0x040048F4 RID: 18676
		private static readonly MessageParser<RogueReforgeFormulaSelectInfo> _parser = new MessageParser<RogueReforgeFormulaSelectInfo>(() => new RogueReforgeFormulaSelectInfo());

		// Token: 0x040048F5 RID: 18677
		private UnknownFieldSet _unknownFields;

		// Token: 0x040048F6 RID: 18678
		public const int RogueFormulaSelectInfoFieldNumber = 7;

		// Token: 0x040048F7 RID: 18679
		private RogueFormulaSelectInfo rogueFormulaSelectInfo_;
	}
}
